package com.hrm.mapper;

import com.hrm.pojo.Document;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


@Mapper
public interface DocumentMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Document record);

    int insertSelective(Document record);

    Document selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Document record);

    int updateByPrimaryKey(Document record);

    List<Document> selectByTitle(String title)throws Exception;
}